package com.focus.pay.core.exception;

import lombok.Getter;

@Getter
public enum ExceptionEnum {
    INIT_ERROR("INIT_ERROR","初始化异常"),
    HANDLE_ERROR("HANDLE_ERROR","未找到处理类"),
    VALID_ERROR("VALID_ERROR","校验异常"),
    INVOKE_APY_ERROR("INVOKE_APY_ERROR","服务异常"),
    PRIVATE_ERROR("PRIVATE_ERROR","秘钥异常"),
    SIGN_ERROR("SIGN_ERROR","签名异常"),
    ORDER_ERROR("ORDER_ERROR","下单异常"),
    QUERY_ERROR("QUERY_ERROR","订单查询异常"),
    SSL_ERROR("SSL_ERROR","证书异常"),
    ClOSE_ERROR("ClOSE_ERROR","关闭订单异常"),
    REFUND_ERROR("REFUND_ERROR","退款异常"),
    DOWNLOAD_ERROR("DOWNLOAD_ERROR","下载账单异常"),
    ORDER_EXCEPTION("ORDER_EXCEPTION","程序异常"),
    SERIALNO_EXCEPTION("SERIALNO_EXCEPTION","serialNo不为空"),
    VERSION_ERROR("VERSION_ERROR","支付版本不支持"),
    VERIFY_ERROR("VERIFY_ERROR","验签失败"),
    ;

    private String exceptionCode;

    private String exceptionMsg;

    ExceptionEnum(String exceptionCode,String exceptionMsg){
        this.exceptionCode=exceptionCode;
        this.exceptionMsg=exceptionMsg;
    }
}
